<!doctype html>
<html>
    <head>
        <meta charset="utf-8">
        <title>百合网_登录</title>        
        
		<link rel="shortcut icon" type="image/x-icon" href="image/favicon.ico">
        <link href="css/login.css" rel="stylesheet" type="text/css">
        <script type="text/javascript" src="js/jquery-1.11.3.js" charset="utf-8"></script>
        <script type="text/javascript" src="js/login.js"></script>
        <script src="js/yanzheng.js" ></script>
        <script language="javascript" type="text/javascript">
            //var _baiheHead_start_time = new Date();
        </script>

     </head>
<body>
	    
        <div class="right_bg">
            <div class="layer">

                <form name="loginForm" id="loginForm" action="#" target="_self" method="post">                
                    <div class="cont" style="right: 100px;">
                        <input type="hidden" name="ReturnUrl" value="">
                        <a href="#" target="_blank" class="logo"><img src="images/login_logo.png" width="86" height="74" alt="百合网"></a>
                        <input class="inp01"   type="text"   name="txtLoginEMail" id="txtLoginEMail"  size="16" maxlength="40" onfocus="if(this.value=='邮箱'){this.value='';}" onBlur="if(!this.value){this.value='邮箱';}" value="邮箱" onkeypress="javascript:return HandleKeyPressToPwd(event);">
                        <span class="msg" id='txtLoginEMail_e' style="display:block;"></span><!--邮箱格式不正确-->
                        <input class="inp01" style="display: block;margin-top:4px;" name="txtLoginPwd" id="txtLoginPwd" type="text" size="16" maxlength="16" onkeypress="javascript:return HandleKeyPress(event);" value="密码" />
                        
                        <span class="msg" id='txtLoginPwd_e' style="display:none;">请输入6-16位英文字母或数字</span>
                        <!-- 验证码 -->
                        <div class="refresh" style="display: none" id="verifyDiv">
                            <input type="hidden" id="tmpid" name="tmpId" value="">
                            <input class="inp02" type="text" id="code" name="code" value="">
                            <img alt="验证码" width="77" height="38" class="verImg" id="codeImg">
                                <a href="#" class="icon" id="verfyRe">刷新</a>
                        </div>
                        <span class="msg" style="display:none;" id="verifyErr">验证码不正确</span>
                        <!-- 结束 -->
                        <div class="line">  
                            <a href="#" target="_blank" onClick="#">忘记密码？</a>    
                            <input type="checkbox" onKeyPress="HandleKeyPress();" value="Yes" name="chkRememberMe" id="chkRememberMe" class="checkbox"><label for="chkRememberMe">自动登录</label>     
                        </div>
                        <input class="btn" type="button" onClick="javascript:DoLogin();" value="登 录">
                            <span class="noLogin">没有百合账号？</span><a href="register.html" class="register" >立即注册&gt;</a>
                                             
                    </div>

                </form>
                <script language="javascript" type="text/javascript">
                    var error='';
                    if(error){
                        $("#txtLoginEMail_e").show();
                        $("#txtLoginEMail_e").html(error);
                    }
                    function bindType(v){
                        bzt_setCookie("bindType",v,"","/","baihe.com");
                        bzt_setCookie("thirdType", "my","","/","baihe.com");
                    }
                    function bzt_setCookie(name, value, expires, path, domain, secure) {
                        document.cookie = name + "=" + escape (value) +
                            ((expires) ? "; expires=" + expires : "") +
                            ((path) ? "; path=" + path : "") +
                            ((domain) ? "; domain=" + domain : "") +
                            ((secure) ? "; secure" : "");
                    }
                </script>
            </div>
        </div>
        <div class="foot">
            <span>京ICP备10009806号-1|京公网安备110105000655号|京ICP证041124号|家长监护工程</span> <br>
            <span>百合网股份有限公司|版权所有&copy; 2005 - 2015 百合网|客服专线：400-1520-555(8：00 至 20：00)</span>
        </div>
  
        <script type="text/javascript">
   
            $(function(){
                $('#txtLoginEMail').on('focus',function(){
                    if($(this).val()=="邮箱"){
                        $(this).val('');
                    }
                }).on('blur',function(){
                    if($(this).val()==""){
                        $(this).val('邮箱');
                    }else{
                        checkEmail();
                    }
                });
            
                $('#txtLoginPwd').on('focus',function(){
                    if($(this).val()=="密码"){
						$(this).val("");
                        $(this).attr('type','password');
                    }
                }).on('blur',function(){
					if($(this).val()==""){
						$(this).val("密码");
						 $(this).attr('type','text');
					}
				}); 
				
				$(function(){
					
				});
            });
            /*function  baidu_stat(){
                var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
                document.write("<div id='baidu_stat_id' style='display:none;'>");
                document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3F5caa30e0c191a1c525d4a6487bf45a9d' type='text/javascript'%3E%3C/script%3E"));
                document.write("</div>");
            }
            baidu_stat();*/
           // document.getElementById("baidu_stat_id").style.display="none";
        </script>
         
</body>
</html>

